<!-- target: mallForm(master = formPage) -->
<!-- block: crumb -->
    <!-- import: mallFormCrumb -->
<!-- /block -->
<!-- block: formMain -->
    <!-- import: mallFormMain -->
<!-- /block -->

<!-- target: mallFormCrumb(master = crumb) -->
<!-- block: path -->
    <span>用户管理</span>
    <span><!-- if: ${formType} === 'create' -->新增<!-- else: -->编辑<!-- /if -->用户</span>
<!-- /block -->

<!-- target: mallFormMain(master = customFormView) -->
<!-- block: sections -->
    <!-- import: mallBaseContent -->
<!-- /block -->
<!-- block: submitSection -->
<button type="submit" data-ui-type="Button" data-ui-id="submit" data-ui-group="submit" data-ui-variants="warning wide" class="submit-button">确认提交</button>
<!-- /block -->

<!-- target: mallBaseContent -->
<section class="form-section">

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'username',
                title = '用户名',
                width = 160,
                required = true
            )
        -->
    </div>
    <div class="ui-form-row">
        <!-- use:
            textboxField(
            field = 'password',
            title = '密码',
            width = 160,
            required = true
            )
        -->
    </div>
    <div class="ui-form-row">
        <!-- use:
            labelSelectorField(
                field = 'role',
                width = 160,
                title = '角色',
                options = ${system.roleList},
                required = true
        )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'phone',
                title = '电话',
                width = 160,
                required = true
            )
        -->
    </div>

</section>
